// void, Obj This, Obj other

Unit this;
int nApproachDistance;

Sleep(rand(100)+10);
nApproachDistance = GetConst("HeroApproachDistance");
this = This.AsUnit();
while (.hero.IsAlive) {
	if(.Goto(.hero,nApproachDistance,4000,false,4000))
		break;
}
if(.hero.IsAlive)
	if(.hero.command == "engage"){
		Sleep(rand(100)+100);
		.AddCommand(true, "engage");
	}
	
